package com.renu;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.renu.jdependencyanalyser.data.ProjectDataCenter;
import com.renu.jdependencyanalyser.utils.MyProjectUtil;

import javax.swing.*;

public class AnalyserWindow {
    private JButton bntAnalyse;
    private JButton bntGraph;
    private JButton bntReport;
    private JPanel contentPanel;
    private JPanel outerClassPanel;
    private JPanel invokeChainPanel;
    private JPanel statiscticsPanel;
    private JPanel outerClass_outputPanel;
    private JPanel outerClass_codePanel;
    private JPanel outerDependencyPanel;
    private JTabbedPane tabbedPane1;
    private JTabbedPane tabbedPane2;
    private JTabbedPane tabbedPane3;
    private JTextArea outerclass_codeText;
    private JPanel outerClass_samplePanel;
    private JButton button1;
    private JButton button2;

    public AnalyserWindow(Project project, ToolWindow toolWindow) {
        String projectBasePath = project.getBasePath();

        MyProjectUtil.projectBasePath = projectBasePath;

        ProjectDataCenter.asmAnalyse();

        initTable();


    }


    // todo
    private void initTable() {
    }

    public JPanel getContentPanel() {
        return contentPanel;
    }

    private void createUIComponents() {
        // TODO: place custom component creation code here
    }
}
